import * as types from '../../constant/mutations_type'

const mutation = {
    [types.TEST1](state, singer) {                          //这是同步的不需要action去触发  更新token到store           
        console.log("mutation=="+types.TEST1+">>>>>>")
        console.log(state)
        console.log(singer)
        state.token = singer
    },
    // [types.SET_DONGHUA](state, singer) {                          //这是同步的不需要action去触发  更新token到store           
    //     state.home.donghua = true  
    // },
    // [types.SET_DONGHUA2](state, singer) {                          //这是同步的不需要action去触发  更新token到store           
    //     state.home.donghua = false  
    
    // },
    // [types.SET_ACTION](state, singer) {                          //改变地步导航切换       
    //     state.action = singer
        
    // },
    // [types.SET_S_ACTION](state, singer) {                        //上一个导航    
    //     state.s_action = singer
    // },
    // [types.SET_HIERARCHY](state, singer) {                       //导航层级 
    //     state.hierarchy = singer
    // },


    // 导航开关空着呢

}
export default mutation